/*
 * @Author: tkp
 * @Date: 2025-01-03 10:48:28
 */
// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import store from './store'
import ElementUI from 'element-ui'
import '@/assets/styles/element-variables.scss'
import '@/assets/styles/index.scss'
import '@/assets/font/iconfont.css'
import Table from '@/components/Table/index.vue'
import Input from '@/components/Input'
import Pagination from '@/components/Pagination'
import Select from '@/components/Select'
import MyElImage from '@/components/myElImage/index.vue'
import { initDynamicRoutes } from './router/index'
import '@/utils/permission'
import {
  addDateRange, addDateRange2, confirmPop, messageSuccPop,
  messageWarnPop, messageErrorPop, getJsonParse, getJsonStringify
} from '@/utils/utils'
Vue.config.productionTip = false
Vue.use(ElementUI)
Vue.component('Table', Table)
Vue.component('Input', Input)
Vue.component('Pagination', Pagination)
Vue.component('Select', Select)
Vue.component('MyElImage', MyElImage)
Vue.prototype.addDateRange = addDateRange
Vue.prototype.addDateRange2 = addDateRange2
Vue.prototype.confirmPop = confirmPop
Vue.prototype.messageSuccPop = messageSuccPop
Vue.prototype.messageWarnPop = messageWarnPop
Vue.prototype.messageErrorPop = messageErrorPop
Vue.prototype.getJsonStringify = getJsonStringify
Vue.prototype.getJsonParse = getJsonParse
initDynamicRoutes()
/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  components: { App },
  template: '<App/>'
})
